package com.ljx.itbbs.server.article.domain.vo.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-23  15:44
 */
@Data
public class ArticleCategoryResp {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("文章数量")
    private Integer articleNum;

    @ApiModelProperty("版主")
    private List<UserInfo> userList;

    /**
     * 版主
     */
    public class UserInfo {
        private Long id;

        private String nickname;

    }

}
